From: Brion Vibber Date: Tue, 23 Aug 2011 17:58:18 +0000 (+0000) Subject: Followup r95262 - remove bogus test cases that seemed to be trying to test the browse... X-Git-Tag: 1.31.0-rc.0~28125 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=a9a15fe8f694f0c7f319f7d33a8023ab1102d575;p=lhc%2Fweb%2Fwiklou.git Followup r95262 - remove bogus test cases that seemed to be trying to test the browser's HTML fragment parser. :) These test cases attempted, I think, to be bogus forced-fail cases, but the fail-forcing doesn't work because HTML 5 parsing in modern browsers parses the text into... the same as the actual expected text! :) Resolves bug 30520. --- diff --git a/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js b/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js index 0f2a2d3f56..c2e14333e3 100644 --- a/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js +++ b/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js @@ -156,18 +156,6 @@ test( 'Check', function() { text: "« L'oiseau est sur l’île »", highlight: "« L'oise", expected: '« L\'oiseau est sur l’île »' - }, - { - desc: 'Test 100: TESTCASE FOR QUNIT FAILS: a wrong expected string was not detected in Firefox 6.0 and Chrome', - text: 'Österreich', - highlight: 'Ö', - expected: 'Österreich' - }, - { - desc: 'Test 101: TESTCASE FOR QUNIT FAILS: a wrong expected string was not detected in Firefox 6.0 or Chrome', - text: 'Oesterreich', - highlight: 'Oe', - expected: 'Oesterreich' } ]; expect(cases.length);